#ifndef TRACKER_DISPLAY_H
#define TRACKER_DISPLAY_H

#include <QWidget>
#include "tracker_display_model.h"
#include <QTableWidgetItem>
#include "main.h"
#include <QTableWidget>
#include "tracker.h"


namespace Ui {
class tracker_display;
}

class tracker_display : public QWidget
{
    Q_OBJECT
    
public:
    explicit tracker_display(QWidget *parent = 0);
    ~tracker_display();
    void read_page(int page) ;
    void display_data();

private:
    Ui::tracker_display *ui;
    QList < QVector<int> > listpage;
    uchar pagenum;
    void set_column_data(int IO_data,int row,int col);

private slots:

    void display_currentcolumn_data(int row, int column);
    void on_nextpage_btn_clicked();
};

#endif // TRACKER_DISPLAY_H
